package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.dto.ayb.SignPayProductDTO;
import com.ayf.payment.game.api.dto.ayb.SignPayProductDTO2;
import com.ayf.payment.game.api.dto.criteria.SignPayProductCriteria;
import com.ayf.payment.game.api.entity.SignPayProduct;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SignPayProductMapper extends Mapper<SignPayProduct> {

    List<SignPayProductDTO2> selectPageSignPayProduct(@Param("criteria") SignPayProductCriteria selectCriteria);

    List<SignPayProductDTO> getSignPayProductList(@Param("dto") SignPayProductDTO dto);

    List<SignPayProductDTO> litReviewSignPayProduct();

    void deleteByMerchantIdAndCode(@Param("merchantId") Integer merchantId, @Param("payCode") String payCode);

    SignPayProductDTO getByIdCardAndPayCode(@Param("idCard")String idCard, @Param("payCode")String payCode);
}
